Fantasia : a Tool for Automatically Identifying Inconsistency in Angularjs
نویسنده
چکیده
Abstract AngularJS is a JavaScript based MVC framework popular for developing Single Page Applications (SPA) development. Inconsistency may occur in AngularJS applications since JavaScript is a loosely type programing language. Most of the JavaScript errors are DOM related errors that are potentially caused by inconsistency. Mostly two types of inconsistencies namely identifier and type inconsistency occur among the modules of AngularJS. It creates hidden bugs and leads the application to perform wrong behaviors. Developers have to perform manual inspections to identify these inconsistencies. The existing approach can detect inconsistencies only for the older version of AngularJS applications. Moreover, it also omits the presence of custom directives in those applications. The recommended angular coding style guides and the new features of AngularJS are not supported by the existing tool. It is officially recommended for the developers to follow angular coding style guides and new features of AngularJS . It is also recommended to create custom directives while developing loosely coupled modules and applications. So, while identifying the inconsistencies, in the presence of the custom directives should be considered. In order to overcome the above limitation of the existing approach, an automatic approach in the form of a tool namely FANTASIA is proposed and developed that can identify inconsistencies in AngularJS MVC applications in the presences of custom directives. A fault injection study and comparative study are performed on fifteen AngularJSAngularJS is a JavaScript based MVC framework popular for developing Single Page Applications (SPA) development. Inconsistency may occur in AngularJS applications since JavaScript is a loosely type programing language. Most of the JavaScript errors are DOM related errors that are potentially caused by inconsistency. Mostly two types of inconsistencies namely identifier and type inconsistency occur among the modules of AngularJS. It creates hidden bugs and leads the application to perform wrong behaviors. Developers have to perform manual inspections to identify these inconsistencies. The existing approach can detect inconsistencies only for the older version of AngularJS applications. Moreover, it also omits the presence of custom directives in those applications. The recommended angular coding style guides and the new features of AngularJS are not supported by the existing tool. It is officially recommended for the developers to follow angular coding style guides and new features of AngularJS . It is also recommended to create custom directives while developing loosely coupled modules and applications. So, while identifying the inconsistencies, in the presence of the custom directives should be considered. In order to overcome the above limitation of the existing approach, an automatic approach in the form of a tool namely FANTASIA is proposed and developed that can identify inconsistencies in AngularJS MVC applications in the presences of custom directives. A fault injection study and comparative study are performed on fifteen AngularJS
منابع مشابه
Automatic Critiques of Interface Modes
We introduce a formal model of inconsistency-related mode confusion. This forms the basis of a heuristic methodology for critiquing user interfaces, using a matrix algebra approach to interface specification [12]. We also present a novel algorithm for automatically identifying modes in state-based interface designs, allowing a significant level of automated tool support for our methodology. The...
متن کاملA comparison between modal damping ratios identified by NExT-ERA and frequency domain impact test
In this research, the modal parameters of a beam in free-free condition are extracted by performing different experiments in laboratory. For this purpose, two different techniques are employed. The first methodology is considered as a time domain method in Operational Modal Analysis. While the other one is frequency domain impact hammer test which is categorized as an Experimental Modal Analysi...
متن کاملDetecting Inconsistencies in Large First-Order Knowledge Bases
Large formalizations carry the risk of inconsistency, and hence may lead to instances of spurious reasoning. This paper describes a new approach and tool that automatically probes large first-order axiomatizations for inconsistency, by selecting subsets of the axioms centered on certain function and predicate symbols, and handling the subsets to a first-order theorem prover to test for unsatisf...
متن کاملrt-Inconsistency: A New Property for Real-Time Requirements
We introduce rt-inconsistency, a property of real-time requirements. The property reflects that the requirements specify apparently inconsistent timing constraints. We present an algorithm to check rt-inconsistency automatically. The algorithm works via a stepwise reduction to real-time model checking. We implement the algorithm using an existing module for the reduction and the UPPAAL tool for...
متن کاملIdentifying ecosystem, opportunities and environmental of educational entrepreneurship
The aim of this study was to identify the ecosystem, opportunities and threats of educational entrepreneurship, which has been done with a qualitative approach.The statistical population of the study is educational entrepreneurs of Tehran, who have established an innovative institution and institution in the field of education.First, the educational entrepreneurship ecosystem was evaluated by d...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017